package com.ushine.design.design.c_behavioral_pattern.a_chain_of_responsibility.b_example;

public class Congress extends Approver {
    public Congress(String name) {
        super(name);
    }

    @Override
    public void processRequest(PurchaseRequest request) {
        System.out.println("召开董事会，审批采购单：" + request.getNumber() +
                ",金额：" + request.getAmount() + "元，采购目的：" + request.getPurpose() + "。");
    }

}
